﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AgentRatios.aspx.cs" Inherits="AKMII.DMRA.Web.MDPages.AddRatios" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Assignment Ratios</title>
    <script language="javascript">
      function validateNumber(value)
      {
        value=value.replace('%','');
        if(isNaN(value))
         {
          document.execCommand('undo');
         }
      } 
      
   function checkValidate()
      {
        var inputs = document.getElementsByTagName("input"); 
        for(var i=0;i<inputs.length;i++)
        {
           if(inputs[i].type=="text")
           {
              var text=inputs[i].value;
              text=text.replace('%','');
              text=text.replace('$','');
              text=text.replace(/(^\s*)|(\s*$)/g, "");
              if(text=='')
              {
                 alert('Save changes failure,The data can not be empty !');
                 return false;
              }
              if(isNaN(text))
              {
                alert('Save changes failure,The data you input must be figures!');
                return false;
              }
           }
        }
        alert('Your changes have been saved.');
        return true;
      }
      
    </script>
  <link href="../Content/css/seo.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
   <table width="664" height="176" border="0" cellspacing="1" bgcolor="#000000">
  <tr>
    <td width="128" bgcolor="#FFFFFF"><span class="STYLE1"></span></td>
    <td width="47" bgcolor="#FFFFFF" class="Ratio_title">Active</td>
    <td width="57" bgcolor="#FFFFFF" class="Ratio_title">Lapsed</td>
    <td width="72" bgcolor="#FFFFFF" class="Ratio_title"><span style="border-left:none;width:67pt">Business</span></td>
    <td width="71" bgcolor="#FFFFFF" class="Ratio_title">Neighbor</td>
    <td width="58" bgcolor="#FFFFFF" class="Ratio_title"><span style="border-left:none;width:67pt">Ref/R-Over</span></td>
    <td width="63" bgcolor="#FFFFFF" class="Ratio_title"><span style="border-left:none;width:67pt">T-System</span></td>
    <td width="55" bgcolor="#FFFFFF" class="Ratio_title"><span style="border-left:none;width:67pt">Target Market</span></td>
    <td width="68" bgcolor="#FFFFFF" class="Ratio_title"><span style="border-left:none;width:67pt">Field Renewal</span></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="Ratio_title"><span class="STYLE1"><span style="height:34.9pt;border-top:none;
  width:90pt">Contacts/FF</span></span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content">
        <asp:TextBox ID="txtAcon" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        <span class="STYLE1"></span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtLcon" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtBcon" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtNcon" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtRcon" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTScon0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTMcon" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtFRcon" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="Ratio_title"><span class="STYLE1"><span style="height:34.9pt;border-top:none;
  width:90pt">Appointments Made</span></span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtAAM" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtLAM" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtBAM" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtNAM0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtRAM" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTSAM0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTMAM0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtFAM0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="Ratio_title"><span class="STYLE1"><span style="height:34.9pt;border-top:none;
  width:90pt">Appointments Kept</span></span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtAAK" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtLAK0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtBAK" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtNAK0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtRAK0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTSAK0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTMAK0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtFAK0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="Ratio_title"><span class="STYLE1"><span style="height:34.9pt;border-top:none;
  width:90pt">Presentations</span></span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtAPre" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtLPre0" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtBPre" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtNPre" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtRPre" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTSPre" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTMPre" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtFPre" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="Ratio_title"><span class="STYLE1"><span style="height:20.25pt;border-top:none;
  width:90pt">Sales(apps)</span></span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtASale" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtLSale" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtBSale" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtNSale" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtRSale" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTSSale" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtTMSale" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
    <td bgcolor="#FFFFFF" class="Ratio_content"><span class="STYLE1">
        <asp:TextBox ID="txtFRSale" runat="server" BorderWidth="0px" Width="95%" 
            CssClass="TxtRatio" ></asp:TextBox>
        </span></td>
  </tr>
</table>
<table width="187" border="0" cellspacing="1" bgcolor="#000000">
  <tr>
    <td width="131" bgcolor="#FFFFFF" class="Ratio_title"><span style="height:30.0pt;border-top:none;
  width:90pt">Avg APV per App</span></td>
    <td width="49" bgcolor="#FFFFFF" class="Assignment_BuleBlackGround"><span class="STYLE1">
        <asp:TextBox ID="txtAAvg" CssClass="Assignment_BuleBlackGround" runat="server" 
            BorderWidth="0px" Width="95%" ReadOnly="True" 
           ></asp:TextBox>
        </span></td>
  </tr>
</table>
       <span class="xl101" style="height:27.6pt">
       <div align="center">
           <asp:Button ID="Button1" runat="server" CssClass="loginbuttonBtnz" Text="Save Change" 
               onclick="Button1_Click" />&nbsp;<span class="xl101" style="height:27.6pt"><asp:Button 
               ID="Button2" runat="server" CssClass="loginbuttonBtn" onclick="Button2_Click" 
               Text="Restore Defaults" />
       </div>
    </form>
</body>
</html>
